<?php
class TagsModel extends RelationModel{

	public $_link = array(
			'Post_tags'=> array(
						
					'mapping_type'=>HAS_MANY,
						
					'class_name'=>'Post_tag',
						
					'mapping_name'=>'in_post',
						
					'foreign_key'=>'tag_id',
					//post_user
					'parent_key'=>'tag_id'),
			
			
			
			
	
				
	);
	
	
	
}